package com.guodi.map.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @描述：书签表
 * @作者: 陈宏成
 * @日期: 2021-03-30
 */
@ApiModel(value="书签表")
@TableName("map_bookmark")
@Data
public class MapBookMark implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId("id")
    private String id;

    @ApiModelProperty(value = "书签名称")
    @TableField(value = "name",updateStrategy = FieldStrategy.NOT_EMPTY)
    private String name;

    @ApiModelProperty(value = "范围")
    @TableField(value = "extent")
    private String extent;

    @ApiModelProperty(value = "图层")
    @TableField(value = "layer",updateStrategy = FieldStrategy.NOT_EMPTY)
    private String layer;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "creator",updateStrategy = FieldStrategy.NEVER)
    private String creator;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time",updateStrategy = FieldStrategy.NEVER)
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "modifier")
    private String modifier;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "modify_time")
    private Date modifyTime;

    @ApiModelProperty(value = "经度")
    @TableField(value = "x")
    private String x;

    @ApiModelProperty(value = "纬度")
    @TableField(value = "y")
    private String y;

    @ApiModelProperty(value = "高度")
    @TableField(value = "z")
    private String z;

    @ApiModelProperty(value = "绕垂直于地心的轴旋转")
    @TableField(value = "heading")
    private String heading;

    @ApiModelProperty(value = "绕纬度线旋转")
    @TableField(value = "pitch")
    private String pitch;

    @ApiModelProperty(value = "绕经度线旋转")
    @TableField(value = "roll")
    private String roll;
}
